package com.qwz.example;
/**
* @Description: 具体的算法实现，为大客户计算应报的价格
* @Package com.qwz.example.LargeCustomerStrategy
* @author Qiuwuzhi
* @date 2019/12/25 13:43
* @version V1.0
*/
public class LargeCustomerStrategy implements Strategy {
    public double calcPrice(double goodsPrice) {
        System.out.println("大客户，统一折扣10%");
        return goodsPrice*(1-0.1);
    }
}
